package com.pansoft.kline.model;

import java.io.Serializable;
import java.util.List;

/**
 * @author : zzj
 * @e-mail : zhangzhijun@pansoft.com
 * @date : 2018/11/27 9:31
 * @desc :  分析界面的委单量请求的数据model
 * @version: 1.0
 */
public class DealRealAnalyzeAppointOrderModel  implements Serializable {

    /**
     * code : 0
     * data : {"asks":[{"price":"3811.16","originalPrice":"3811.16","volume":"0.007"},{"price":"3811.2","originalPrice":"3811.2","volume":"0.131"},{"price":"3811.22","originalPrice":"3811.22","volume":"0.053"},{"price":"3811.23","originalPrice":"3811.23","volume":"0.319"},{"price":"3812.83","originalPrice":"3812.83","volume":"0.02"},{"price":"3814.27","originalPrice":"3814.27","volume":"0.026"},{"price":"3828.3","originalPrice":"3828.3","volume":"0.032"},{"price":"3828.31","originalPrice":"3828.31","volume":"0.001"},{"price":"3828.32","originalPrice":"3828.32","volume":"0.002"},{"price":"3828.33","originalPrice":"3828.33","volume":"0.002"},{"price":"3828.34","originalPrice":"3828.34","volume":"0.002"},{"price":"3828.36","originalPrice":"3828.36","volume":"1"},{"price":"3878.98","originalPrice":"3878.98","volume":"10"},{"price":"3878.99","originalPrice":"3878.99","volume":"0.031"},{"price":"3885.49","originalPrice":"3885.49","volume":"0.045"},{"price":"3889.83","originalPrice":"3889.83","volume":"0.031"},{"price":"3905.98","originalPrice":"3905.98","volume":"4.361"},{"price":"3948","originalPrice":3948,"volume":"0.6"},{"price":"3952","originalPrice":3952,"volume":"1"},{"price":"4034.88","originalPrice":"4034.88","volume":"0.818"},{"price":"4047.59","originalPrice":"4047.59","volume":"0.004"},{"price":"4057.54","originalPrice":"4057.54","volume":"0.048"},{"price":"4090","originalPrice":4090,"volume":"0.25"},{"price":"4145.68","originalPrice":"4145.68","volume":"1"},{"price":"4150","originalPrice":4150,"volume":"0.188"},{"price":"4190","originalPrice":4190,"volume":"0.25"}],"bids":[{"price":"3802.47","originalPrice":"3802.47","volume":"0.022"},{"price":"3802.28","originalPrice":"3802.28","volume":"0.053"},{"price":"3802.06","originalPrice":"3802.06","volume":"0.518"},{"price":"3802.04","originalPrice":"3802.04","volume":"0.417"},{"price":"3801.43","originalPrice":"3801.43","volume":"0.013"},{"price":"3797.96","originalPrice":"3797.96","volume":"0.039"},{"price":"3797.8","originalPrice":"3797.8","volume":"0.263"},{"price":"3797.22","originalPrice":"3797.22","volume":"0.02"},{"price":"3795.02","originalPrice":"3795.02","volume":"3.141"},{"price":"3788.56","originalPrice":"3788.56","volume":"0.036"},{"price":"3788.55","originalPrice":"3788.55","volume":"2.232"},{"price":"3768.1","originalPrice":"3768.1","volume":"0.036"},{"price":"3768","originalPrice":3768,"volume":"1.341"},{"price":"3765.8","originalPrice":"3765.8","volume":"10"},{"price":"3765.79","originalPrice":"3765.79","volume":"1.516"},{"price":"3754.71","originalPrice":"3754.71","volume":"0.029"},{"price":"3750","originalPrice":3750,"volume":"0.045"},{"price":"3734.47","originalPrice":"3734.47","volume":"5"},{"price":"3700","originalPrice":3700,"volume":"0.31"},{"price":"3683.95","originalPrice":"3683.95","volume":"5"},{"price":"3683.13","originalPrice":"3683.13","volume":"0.008"},{"price":"3683","originalPrice":3683,"volume":"0.05"},{"price":"3680","originalPrice":3680,"volume":"9.26"},{"price":"3651.2","originalPrice":"3651.2","volume":"0.2"},{"price":"3651.1","originalPrice":"3651.1","volume":"0.08"},{"price":"3650","originalPrice":3650,"volume":"5.528"},{"price":"3638","originalPrice":3638,"volume":"10"},{"price":"3637","originalPrice":3637,"volume":"0.2"},{"price":"3600","originalPrice":3600,"volume":"0.106"},{"price":"3580","originalPrice":3580,"volume":"0.034"},{"price":"3550","originalPrice":3550,"volume":"0.147"},{"price":"3517.7","originalPrice":"3517.7","volume":"0.222"},{"price":"3500","originalPrice":3500,"volume":"1.322"},{"price":"3477.6","originalPrice":"3477.6","volume":"0.16"},{"price":"3450","originalPrice":3450,"volume":"1.7"},{"price":"3420","originalPrice":3420,"volume":"1.149"}],"baseProportion":7.8E-4}
     */

    private int code;
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * asks : [{"price":"3811.16","originalPrice":"3811.16","volume":"0.007"},{"price":"3811.2","originalPrice":"3811.2","volume":"0.131"},{"price":"3811.22","originalPrice":"3811.22","volume":"0.053"},{"price":"3811.23","originalPrice":"3811.23","volume":"0.319"},{"price":"3812.83","originalPrice":"3812.83","volume":"0.02"},{"price":"3814.27","originalPrice":"3814.27","volume":"0.026"},{"price":"3828.3","originalPrice":"3828.3","volume":"0.032"},{"price":"3828.31","originalPrice":"3828.31","volume":"0.001"},{"price":"3828.32","originalPrice":"3828.32","volume":"0.002"},{"price":"3828.33","originalPrice":"3828.33","volume":"0.002"},{"price":"3828.34","originalPrice":"3828.34","volume":"0.002"},{"price":"3828.36","originalPrice":"3828.36","volume":"1"},{"price":"3878.98","originalPrice":"3878.98","volume":"10"},{"price":"3878.99","originalPrice":"3878.99","volume":"0.031"},{"price":"3885.49","originalPrice":"3885.49","volume":"0.045"},{"price":"3889.83","originalPrice":"3889.83","volume":"0.031"},{"price":"3905.98","originalPrice":"3905.98","volume":"4.361"},{"price":"3948","originalPrice":3948,"volume":"0.6"},{"price":"3952","originalPrice":3952,"volume":"1"},{"price":"4034.88","originalPrice":"4034.88","volume":"0.818"},{"price":"4047.59","originalPrice":"4047.59","volume":"0.004"},{"price":"4057.54","originalPrice":"4057.54","volume":"0.048"},{"price":"4090","originalPrice":4090,"volume":"0.25"},{"price":"4145.68","originalPrice":"4145.68","volume":"1"},{"price":"4150","originalPrice":4150,"volume":"0.188"},{"price":"4190","originalPrice":4190,"volume":"0.25"}]
         * bids : [{"price":"3802.47","originalPrice":"3802.47","volume":"0.022"},{"price":"3802.28","originalPrice":"3802.28","volume":"0.053"},{"price":"3802.06","originalPrice":"3802.06","volume":"0.518"},{"price":"3802.04","originalPrice":"3802.04","volume":"0.417"},{"price":"3801.43","originalPrice":"3801.43","volume":"0.013"},{"price":"3797.96","originalPrice":"3797.96","volume":"0.039"},{"price":"3797.8","originalPrice":"3797.8","volume":"0.263"},{"price":"3797.22","originalPrice":"3797.22","volume":"0.02"},{"price":"3795.02","originalPrice":"3795.02","volume":"3.141"},{"price":"3788.56","originalPrice":"3788.56","volume":"0.036"},{"price":"3788.55","originalPrice":"3788.55","volume":"2.232"},{"price":"3768.1","originalPrice":"3768.1","volume":"0.036"},{"price":"3768","originalPrice":3768,"volume":"1.341"},{"price":"3765.8","originalPrice":"3765.8","volume":"10"},{"price":"3765.79","originalPrice":"3765.79","volume":"1.516"},{"price":"3754.71","originalPrice":"3754.71","volume":"0.029"},{"price":"3750","originalPrice":3750,"volume":"0.045"},{"price":"3734.47","originalPrice":"3734.47","volume":"5"},{"price":"3700","originalPrice":3700,"volume":"0.31"},{"price":"3683.95","originalPrice":"3683.95","volume":"5"},{"price":"3683.13","originalPrice":"3683.13","volume":"0.008"},{"price":"3683","originalPrice":3683,"volume":"0.05"},{"price":"3680","originalPrice":3680,"volume":"9.26"},{"price":"3651.2","originalPrice":"3651.2","volume":"0.2"},{"price":"3651.1","originalPrice":"3651.1","volume":"0.08"},{"price":"3650","originalPrice":3650,"volume":"5.528"},{"price":"3638","originalPrice":3638,"volume":"10"},{"price":"3637","originalPrice":3637,"volume":"0.2"},{"price":"3600","originalPrice":3600,"volume":"0.106"},{"price":"3580","originalPrice":3580,"volume":"0.034"},{"price":"3550","originalPrice":3550,"volume":"0.147"},{"price":"3517.7","originalPrice":"3517.7","volume":"0.222"},{"price":"3500","originalPrice":3500,"volume":"1.322"},{"price":"3477.6","originalPrice":"3477.6","volume":"0.16"},{"price":"3450","originalPrice":3450,"volume":"1.7"},{"price":"3420","originalPrice":3420,"volume":"1.149"}]
         * baseProportion : 7.8E-4
         */

        private double baseProportion;
        private List<AsksBean> asks;
        private List<BidsBean> bids;

        public double getBaseProportion() {
            return baseProportion;
        }

        public void setBaseProportion(double baseProportion) {
            this.baseProportion = baseProportion;
        }

        public List<AsksBean> getAsks() {
            return asks;
        }

        public void setAsks(List<AsksBean> asks) {
            this.asks = asks;
        }

        public List<BidsBean> getBids() {
            return bids;
        }

        public void setBids(List<BidsBean> bids) {
            this.bids = bids;
        }

        public static class AsksBean {
            /**
             * price : 3811.16
             * originalPrice : 3811.16
             * volume : 0.007
             */

            private String price;
            private String originalPrice;
            private String volume;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(String originalPrice) {
                this.originalPrice = originalPrice;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }
        }

        public static class BidsBean {
            /**
             * price : 3802.47
             * originalPrice : 3802.47
             * volume : 0.022
             */

            private String price;
            private String originalPrice;
            private String volume;

            public String getPrice() {
                return price;
            }

            public void setPrice(String price) {
                this.price = price;
            }

            public String getOriginalPrice() {
                return originalPrice;
            }

            public void setOriginalPrice(String originalPrice) {
                this.originalPrice = originalPrice;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }
        }
    }
}
